

#ifndef _WIFI_DATA_H_
#define _WIFI_DATA_H_

#include "get_wifi_ap.h"

typedef struct
{
    char src_mac[20];
    char dst_mac[20];
    int rssi;
} wifi_data_t;

typedef struct
{
    wifi_data_t *wifi_data_list;
    int len;
} wifi_data_list_t;


typedef struct
{
    char sta_mac[20];
    char ap_mac[20];
    char ap_ssid[128];
    double distance;
} report_data_t;

typedef struct
{
    report_data_t *report_data_list;
    int len;
} report_data_list_t;

extern void wifi_data_add_ap(WIFI_AP_INFO_LIST *list);

extern void wifi_data_add_sta(wifi_data_list_t *list);

extern report_data_list_t * wifi_data_get_report_data(void);

#endif